﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace VnResource.DataContract.Models
{
    #region LeaveDay

    public class ProfileViewModel
    {
        public Guid ID { get; set; }
        [Required()]
        [Display(Name = "code Emp")]
        public string CodeEmp { get; set; }
        public string ProfileName { get; set; }
        public string Position { get; set; }

        public partial class FieldNames
        {
            public const string ID = "ID";
            public const string CodeEmp = "ProfileID";
            public const string ProfileName = "HreProfile";
            public const string Position = "LeaveDayType";
        }
    }

    public class LeaveDayViewModel
    {
        
        public Guid ID { get; set; }
        public Guid? ProfileID { get; set; }
        public ProfileViewModel HreProfile { get; set; }
        public string LeaveDayType { get; set; }
        public Guid? UserApproveID { get; set; }
        public Guid? UserApproveID2 { get; set; }
        public DateTime? DateStart { get; set; }
        public DateTime? DateEnd { get; set; }
        public Int32? TotalDurian { get; set; }
        public Boolean? IsDelete { get; set; }

        public partial class FieldNames
        {
            public const string ID = "ID";
            public const string ProfileID = "ProfileID";
            public const string HreProfile = "HreProfile";
            public const string LeaveDayType = "LeaveDayType";
            public const string UserApproveID = "UserApproveID";
            public const string UserApproveID2 = "UserApproveID2";
            public const string DateStart = "DateStart";
            public const string DateEnd = "DateEnd";
            public const string TotalDurian = "TotalDurian";
            public const string IsDelete = "IsDelete";
        }

    }

    #endregion
}
